
import Layout from '@/layout'

export default {
  // 一级路由的地址
  path: '/details',
  // 是用布局作为组件
  component: Layout,
  // 【名称，非常的重要，有可能是作为权限的筛选标识】
  name: 'details',
  meta: { title: '学科管理', icon: 'table' },
  children: [
    {
      path: '',
      component: () => import('@/views/details/details'),
      name: 'details',
      meta: {
        title: '学科',
        icon: 'table'
      }
    },
    {
      path: 'basics-details',
      name: 'basics-details',
      component: () => import('@/views/details/basics-details'),
      meta: {
        title: '目录',
        icon: 'table'
      }
    },
    {
      path: 'senior',
      name: 'senior-details',
      component: () => import('@/views/details/senior'),
      meta: {
        title: '标签',
        icon: 'table'
      }
    }
  ]
}
